﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Downloader.Domain;
using Downloader.Framework.Queries;

namespace Downloader.Web.Controllers.ViewModels
{
   public class UserAccountViewModel:IEntityConvert<UserAccount>
   {
       public UserAccountViewModel()
       {
           
       }

       public void  From(UserAccount userAccount)
       {
           this.Id = userAccount.Id;
           this.UserName = userAccount.UserName;
           this.QQ = userAccount.QQ;
           this.Email = userAccount.Email;
           this.CreateTime = userAccount.CreateTime;
       }
       public int Id { get; set; }
       public string UserName { get; set; }
     
       public string QQ { get; set; }
       public string Email { get; set; }
       public DateTime CreateTime { get; set; }

    }
}
